Add centerOnScroll, fold imports and fold docstring options

also improve cycling of windows (make code edit get focus when changing the active window)
Fix minimum size