Added polltimer to input thread.