explorationregions.gd and gallery.gd pastebins respectively. I know the background isn't really needed but I figured I play around with it anyway. I assume the problem I've having is that any new additions actually need to be 'called out' I guess? And not just 'inserted' in to existing code.
Edit: @ Line 117 on explorationregions.gd
@ Line 506 gallery.gd