Fixed ComSpec check for Powershell/cmd.exe + added some TODOs.