Clean up all lint errors and some lint warnings.