Improved newline insertion on GUI

was built for dirs with no spaces. when a space does exist it was adding
and extra line.
Added handling for moving subdirectories

no longer removes spaces from filetypes. May need to find a way to clear
empty dirs.