/// <summary>
        /// Removes a cartridge from the store, and wipes all its related content, including
        /// cache, logs and savegames.
        /// </summary>
        /// <param name="tag"></param>
        public void DeleteCartridgeAndContent(CartridgeTag tag)
        {
            // Clears the history for this tag.
            History.RemoveAllOf(tag.Guid);

            // Removes it from the store.
            CartridgeStore.RemoveCartridgeTag(tag, true);
        }
        public WherigoModel()
        {
            Settings = new Models.Settings();
            Settings.PropertyChanged += OnSettingsPropertyChanged;

            Core = new WFCoreAdapter();

            CartridgeStore = new CartridgeStore()
            {
                AutoSyncProvidersOnLink = Settings.SyncOnStartUp
            };

            History = Models.History.FromCacheOrCreate();
        }