Added an exception check when the game is close to overflowing.  Fixes the fifo overflow that occurs in Battalion Wars 2.
Changed the CPEnd loop check to an exact match.
Changed ProcessFifoAllDistance back to how it was.