Lotsa improvements on datamaster: pathTo functions + bugfix on remove