- remove all windows related stuff to own UI class

this should make maintaining of the code a bit more
easy