revised dviewerwindow