UI working much better

Using doublebuffered graphics and more correct winforms code.