Fixed a few small things with the gallery and calendar.