Improved output messages and error checking. Also, remove indentation in program output.
New command do_checkFilter. Other minor improvements here and there.
Some formatting improvements here and there