added Test button to main ui, plumbing not yet hooked up
bit more plumbing.
more plumbing, dialog box now working\!