Fixes #96: removed use of System.out, replaced System.err with logging

Did a little bit more cleanup than requested, but it's nothing functional.