Fix internal issue with handling trailing blanks
Clean up docstrings
Print usage hint when executed with improper parameters