Ugh.
every variable = mc.mcGetSomething(inst)
call is actually a variable, rc = mc.mcGetSomething(inst)
call, where "rc" is the return code, and it should be checked to make sure it is OK or the function should barf.
That means - to do this right - I have to add an error check to every single API call.
Oi. More to follow.