Renamed variables and function names in just about every file, fixed inconsistent whitespace