Merge all other contributions

New features
Fix Windows bugs
I agree but we need to find a way to support space in path.
It's a must have feature on windows.