Fleshed out definition for shutdown()

This was far easier than expected.

Also added a dedicated int for entitySprite, so it's easier to manage.