gui - file manager stuff, bug fix and new tests