Threading fixes
Path is now translated from remote to local in proper place, trying to fix issue #54