Change default config directory (fixes #145)
Hide temporary files on Windows (fixes #146)