Groom AST & Symbol Table code. Fix errors reported by pylint.