Miscellaneous small touch-ups

- Remove a couple of unnecessary seek() checks.
- Fix typo in variable name (initialized as 'seenComments', but used as
  'commentsSeen')
- Remove redundant array_values() call
- Remove unused 'lastCount' variable
- Consistently capitalize 'LESS' and 'CSS'.
- Remove trailing whitespace from several files.