Spirit demo plus leak fixes

Added timeouts for spirits.
Made game responsible for collision resolution, not world.
Fixed severe cell and path leaks. Thanks, Chrome profiler!