Horizontal resizing of main window

Now you can adjust main window width from the Settings

Also, there's some commented code to make it work with the resizer element(please note that it should be then moved according to window alignment and the size calculation would differ a bit).