Prevent memory leaks on failure in MSet
Add engGetHandles[] debugging function: will list all existing matlab data structure handles