Fix bg-colour
Add repaint of main panel after mouse button is released and fix bg-colour
Update: repaint of window while dragging
Merge pull request #1 from PavelVavruska/master

GUI artefacts caused by main frame not being repainted everytime while dragged are now solved.