inlined single line SendCommand() fuction

plus a few other minor fixlets