Add missing forward declaration of MapInfo.
Return bool on success/failure in runCommand().