More flexible validation. Hook up Gemini through gemup. Wire up thumbnail view. Minor gardening.