adding and moving directories now work with both absolute and relative paths.
Fixed bug where were directory was allowed to move into itself.