Do various cleanup and refactoring.
Not actually working at the moment (path is .\. instead of .\*.*).