Added a lot of the edit stuff, and added category print.