Added mouse handling code.
Added mouse state machine skeleton.
Slight wording change. Added functions to change mouse state.
Began to poplate mouse event handlers.