misc classlist related fixes.