Sanitize 'filterComments' and improve readability/modularity

I mean that you can write a function that removes blank strings in the way that I've shown, did I understood correctly that rmBlank - removes blank strings?