tracking: added some exception handling with error message dialogs