Added some error handling into Windows launcher