Sanitize 'filterComments' and improve readability/modularity

> did I understood correctly that rmBlank - removes blank strings?

It removes lines that only have spaces/tabs too.