Add a trailing separator for windows drive path

Fixes  #2581, #2526
Remove leading '//' from *NIX paths

Fixes #2506,  #2021
Merge pull request #2642 from mano3m/develop_renamer

Fix 100% CPU bugs