v0.5

Now the server cleans broken connections. Preferences file added.
Checkbox component added to the gui.