Convert function names to PascalCase to be more consistent with other StepMania Lua bindings.
Clean up code.