Hide parent links when displaying form
Correctly build list of parent links
Fix for directory rename code