Unified internal function naming and visibility

  - Helper functions and callbacks that are not to be addressed from
    outside a source file are static and have no unnecessary prefixes

  - remvoed unnecessary sanity checks in callbacks