added simple support for headings
added option 'minor edit' to preferences
better readable json-code