Fixed freferences saving on Windows, presets implemented.