Preparing preference window

First trial of defining a layout, using GroupLayout (will probably be reverted)
Minor redesigns