bugfix in backtracking
Better debug and error reporting. Few spelling fixes.
Merge branch 'release/v0.6.x'