Cleaned up map.html and moved styles to main.css. Added comments to galleryCtrl.