fixed: added edit_link block back to base.html
fixed: 404 for empty galleries
fixed: empty galleries have weird body widths