Make sure handling of dialogs is done in the main GUI thread.
Closing accept and reject source dialogs is now done via a call to Close 
instead of Destroy.
Use Close instead of Destroy in error handling dialogs.
Merge pull request #129 from drusk/mac_mouse_unresponsive_after_dialog

Closes #121.