* Moved input handling to update thread