dont store document if load in __init__ fails
Merge branch 'master' of github.com:wbsoft/frescobaldi