Added a timer to the graphicswindow class, that gives the drawer it's frequency. This also means that each window draws in it's own thread, which is nice. I just realized that might lead to race issues, but let's hope not.