more fixes

-fixed an incorrect hblank condition.
-fixed some incorrect PSR stuff.