New pull request for overriding compact mode per node.

As requested, new pull request with only the simpler changes, freshly merged into your master branch. Ignore the list about all the commits, that's just so it cleanly merges on my side. All you need to care about is the diff under 'Files Changed', which is very simple and small :-)