added some forms. changed tree format. use default value for parentid in categories (add enabled for root if nothing selected)