cleans up lightbx script
improves gallery
improves menu