Your symptoms are very similar to a failing CPS, like Chicken said.
I would highly doubt an ECM problem, even a mapping issue would not cause it to shut off, and whats the guarantee the 'new' ecm would have the right programming anyway. I would fix the bike before messing with the ecm or mapping.
The front/rear injector wiring codes are a bit troubling. Trace that harness from under the airbox base while doing your grounds.