Fix for the results viewer window on MS Windows.
The user functions now have the results viewer window set as the parent so that the window is not hidden by the main GUI window coming to the front.
Authored by: bugman 2011-09-19
Parent: [r14699]
Child: [r14701]