Fix crash on Windows; Fix no log output; Fix crash when running outside of workspace mapping but inside Perforce root.