Removed old CStrings depricated code

Made the remaining global functions properly formatted free
functions.