moved numlock code to input and added timedemo check on thread sleep
libs to newest