Progress has been made by applying a mask to allow proper identification of modifier keys on release, strange behavior from caps_lock and function keys with mod2 however