fixed some window-specific errors, added to gitignore