Assorted fixes

- Fixes a bug that caused criteria to not be saved.  Oops.
- The directory now defaults to the view of templates, rather than drafts.
- The Create New menu option in the header menu now works.
- Minor tweaks to the "new badge" boxes in drafts and templates directories.