Added gallery.m and did some clean-up of other files.