Better styling for import form
Support both new and old config variables
Move some config options to new and collapsible 'advanced' blocks