Added support for hierarchial collection properties. Useful for gui styles.

Added support for shutting the game down