Fixing startup errors on Windows 8... hopefully...