Added event handling code for activity monitor updates.
Added event handling for control line.
Rearranged CPU registers to align better with system bus.