Fixed #8 -- Cleaned up the exception on the discovery dialog on cancel.

Includes some UI style guide changes to the layout of dialogs,
and corrects the cancel button on the FailedTest dialog.