Key map implementation start
Fixed key map using incorrect pointer reference
Just a little cleanup
Added Time window to keymap timeout
Small code cleanup