Added timeout check to earlier branch, and created constants for max goal and timeout buffer
Fixed merge conflicts in adding timeout to infinite time gamer