#38 Added the delete button for directory objects, plus bug fixes