reworking most of notes, and fix a bug with spaces in tags

for both phots and notes.
several new error pages, and such