Sundry janitorial work on syscall buffer code.
Merge pull request #167 from cgjones/syscallbuf-janitorial-work

Sundry janitorial work on syscall buffer code.