Added error catching, so Sublime can find errors. Windows only build.