Added contact messages. Removed not needed code from gallery.