Created class for drawing handling, but its not working; somehow it cant load WindowGeneral properly