Fixed THE stupid halt bug. CPU didn't halt until an event happened.

Fixed THE stupid halt bug. CPU didn't halt until an event happened.