Switched sleep 0 to sleep 1
Reset log and game actions on game reset.