Fixed some appearance problems, added scroll bar and made
treeview sortable.