added ability to cleanup assetmanager, unloading all loaded assets and freeing any memory.