Waiting for keypress removed from main()