Fixed DirPane and TreeModel stuff. Added some GUI components to TextPane.