Tidy mode now default.
It seems to work ok but not for book type documents.