tree view and file selection fix
handle external files done
editor done