(gui) Minor fixes
(library) Display correct root folder
(db) Improve mutex management

Now shared accross instances