more updating of syscall args, replacement of netbsd rwlock calls with freebsd equivalents, fixes for SCARG purge, and continued s/lwp/thread/