Fixed tileCache-related bug with duplicate doors
Changed algorithm for max length of spikes, fixed game-over drawing