fixed exception handling in LauncherBase on Windows 8