Corrected log functions in EventHandler.
Changed key registration keys.