Fixed the formatting bug that introduced a global variable.
Documented everything in the blazegears.bgtl namespace.