More features and bug fixes

* Document loads correctly
* ListModel log of events
* Generator supports a special settings object and predefining the ID