nicer formatting output for tags with no children

also misc bug fixes, readme updated