Fix startup when no document is open
filemanager wip