Get rid of redundant debug messages

Fixes #18 & #16.