Saving of edited subcategories, bugfixes.