some warning fixes and general sdl optimization
GameEntities can now be scheduled for removal