Merge pull request #26 from ZCodeMT/master

fixed bug in spn_vm_addlib_* functions
stylistic mash-up