Bad Memories: Beta update, Gallery overhaul

Sorry, this is not a content update. This time I changed the Gallery code so much, it's basically a complete overhaul. I've tested everything and had a few other people try it by sending them the new gallery script and…