Updates to edit screen

Setup template to run from database. Set up thumbnail interface for
selecting variations