Reworked the IP and FLAGS as registers instead of separate integers.  Rewrote the flags test.  There may be duplicate methods cropping up, another refactor to simplify will be needed soon.