Fix cache error when ?purge=1 in url.
Fix bug with directory sort and add arbitrary order.
Add alignment option to thumbnails. Add minor style to gallery. Fix php-markdown paragraphing figure and style.
Update cache system to avoid a bug when two cache conditions are running.
Fix center aligned thumbnails. Add ability to use files relative to document root.
Add .htaccess back for easier install. Update default theme and pages. Change parameter orders in hook directory_sort to be consistent with theme function.