Apparently I added a ton of stuff.

Most recently I hacked it to disable offscreen entities and bring them
back alive once they become onscreen again.