corrects the size of entities in print preview and print

This solves #57 and disables Close action when no document is in the MDI area.