Updating key press event handling

The "keydown" event listener switch statement now listens for "true".

Added DEFAULT_DISABLED_KEYCODES parameter to disable plugin events from firing when certain keys are pressed (ctrl, alt, windows key, etc).

Escape key now fires the "inactive" event.