Tidy indent
Improve debug output
Stop reinitializing parser in parse_fragment. Fixes #94