Logging massively improved! Added swig bindings for it, too, so we can
use it in tests as well. This fixes #1.
Got rid of a duplicate string.