Add proper cleanup() for SkyAppState
Add proper cleanup() for SkyAppState

That reveals a problem because the AppStateManager unloads states at program exit in the order they were attached - and not reversed so dependencies to SkyAppState fail because of the skyNode = null statement executed too early.

cmur2/ssim-ed