gallery: refactoring, access control done, modifying fixed
prettify pages with no headers, fix image-ack logic
gallery-home: hide pending if == 0