Closing up more in-game functions