Simple mode made to work on windows (fixes #15)