Having a little problem today. While doing some datalogging my bike started breaking up right around 6 or 7k. I was doing some pulls on the street in 4th gear trying to get to redline. Bike would begin to stumble a bit. I turned around and headed home to investigate. Got home,I went inside, came back to the bike and it wouldn't start.

I noticed the pump wasn't priming so I cycled the ignition a few times and it finally primed and started. While I was there checked what little logging I had set up a new map that was a little richer thinking it was just breaking up because of the map.
I proceeded back out to try again and got the same result, bike just broke up. So I turned around and while coming to a stop the bike died. So I proped up my tank because I couldn't hear my fuel pump priming. I was looking for any loose connections that may have been causing this but couldn't find any. I cycled the ignition a few times then the pump decided to work?

? I checked what logging I had when I arrived home and it was pretty lean. Not terrible but that can be corrected with the map.
I've never experienced this with my bike before. The pump I'm using is the same one I got with my stage one kit. It's a bosch pump, not the 044 but a smaller version. I did ride home fine and it accelerates ok until you get to 6-7k. Any ideas, could the pump just be old? It's about 4.5 years old. I also checked my hose routing but that hasn't really changed since I've had my bike back together.
In a possibly unrelated issue while riding home I noticed my damn speedo wasn't working, well kind of, it was bouncing around a bit. Anyway if anyone has any ideas let me know. I think I'm probably due for a new pump?