Updated KeyEvent related classes to hopefully be more useful, including testing. Added a type-check warning and function exit for Array.find
Minor modifications and updates to the OSXKeyEvent interface