- fix problem with print preview exception in the presence of a window
- fix problem with not being able to select window by clicking on its
main mesh