Some cleanup around how and when messages are displayed. Added an automatic timeout to shown messages. Fixed clicking delete category would open the edit page.