Minor fixes, adding gallery format, pages cleanup.