Litter a few more chktype() calls around, to catch things before they hit STRUCT_REGISTRY
Merge pull request #16 from staticfloat/sf/chktype

Litter a few more chktype() calls around