Fixed the thread races. Function forget_dir was also utterly Unix-specific.
Attach a file by drag & drop or click to upload