keyHandlerThread & ESC Initialization