Lots of variable renaming.

I was using

    static _<funcname>()

to signify private methods.  According to the GNU C manual, names that begin
with underscores are reserved.  Thus, I changed the naming to be

    static funcname__()

Essentially, every '_' is like a '.' in python, and '__' is like '._' in
python (e.g. foo_bar() -> foo.bar(); foo__baz() -> foo._bar())