Bring old code into the 21st century

Function names are now lowercase with words separated by underscores in order to more closely match the WordPress coding standards.