made a giant change. now supporting sorting.
added a todo file.
Started step one of moving the templates to another repo
removed the CGI code from gallery.pl.
well, <strike> is no longer valid.