Fixed zero refresh rate on some monitors.
Updated .gitignore.