Code refactoring: more clear separation between private and public members of the
MainWnd class.
Finished tests on the window-base class