Added graceful exception handling via Win32::ErrorDialog