UI improvements. Gallery and new thumbnail generation utility.