that would be the "oil cooler", looks ok, I wouldn't freak over it, but it's hit the ground now that you say what you've just noted...
I don't see it as "crashed", but a parking lot "oooops" would do those things. All the Cop Bikes had crash bars, your's didn't... and I know they pulled them off... because, they would "talk"...
The bike is running, albeit with an error code, but it's running... I dig a bit more and send it to ya, and maybe we can get that error code cleared, and fixed.
oh, send me a schematic, or sketch, of you "pigtail Plug thingy" you made, noting which wires were used for what, in the process, and I can apply that to what I know about the circuits, ecu, and meter gage unit, in combo with the actual sensor output, in Bike on (not running), Bike on running, and anything else.