fixed NPE on formatting without an active editor, fixed Jalopy Settings dialog appearance