Adding some comments to gallery.js
Renaming gallery to gallerizer and refactoring some of it
Fixing some bugs in the gallerizer and adding control functions
Fixing some minor issues with gallerizer.js