Galleries updated, bugs fixed