brakes giving me a headache!

Since the master is rebuilt and not new, maybe now try to isolate it by clamping the brake hoses. I hate rebuilt m/c and avoid them like the plague....LOL

Good luck....plenty of suggestions for you to try.