Using proper logging now. Closes #20.