Update theme definition classes
Changes to div definitions for new themes
Fixed form render and submit bug