get rid of some string handling cruft
code cleanup
provide a help function for getting all function categories