Applying consistent naming scheme to globals, and marking locals as such.