Fixed possibility to create a category. And, obviously, some corrections.