Brakes locking up.

When I was taking the master cylinder on and off the mounting studs I noticed the piston is actually compressing when I put the master cylinder on (I can see the fluid swirl).

THIS IS YOUR PROBLEM. The master piston is not returning far enough. The piston MUST return ALL the way back

You may have

wrong / incompatible master

Something wrong with booster, assembled wrong

Problems under the dash with that end, linkage, return, pushrod, etc.