converted them into .Fn macros where appropriate. Also fixed up some minor formatting problems.
Submitted by: John Birrel(L?) changes for threadsafe operations