ongoing refactoring. Most of DialogManager code is now winforms-less.

Some forms are still winforms-based, so cannot move to non-WF dll.