Fixing implicitly declared globals. Code reformatting. Etc.