Hard Refactoring of functions.php - Rebuilt the gallery script to pull from custom post type - added TGM Plugin Activation supprt