Added state entry and leave events

This is to stop everything from being loaded in when the game first
loads, this is unnecessary!