check all the wire connectors under the tank along the frame, when you had everything apart you might have not pushed the connectors all the way together, it has happened to me and I could not figure it out, felt like a lean condition high in the rpm range... the connector was together but not popped into place all the way so it looked good but when the bike was vibrating more it would cut out and not rev all the way...