Cleaned up sha1 code.
Added ability to disable event listeners. Added disable keyboard event listener function.