update event object constructor to properly handle arguments
add key.get_mods method