added basic complex config support; still pretty simple approach; not ideal
some stupidity fixes; make selected a property; remove locals() which was stupid; don't save internals as json
fix template to use new complex data types if given
support complex data types; uses select multiple or multiple checkboxes for the moment; implementation is hacky as is the whole form handling
remove obsolete code