fixed the drawing device and the Graphics window to use the new way of interacting with the timedobserverthread
slightly better closing for the GraphicsWindow
updated the graphics window to conform with the new abstract window class