added a -m qtclient switch to choose between one form (default) and MDI interface,
more testing of MDI interface