Page generator cleanup, linting cleanup