something is not right with cadwindow resource file. Made some TODO comments. Work to be done!