exits of the OS quit event
added Walk and Run timeout, better initial players position