code cleanup matching strict mode
category editor partially converted to form2/table2