removed debug printing and marked issue #1 fixed (two commits ago)