get rid of unused imports and globals, and of the macro palette
remove fixed container used for positioning input widgets