fix segfault on close
adjust paned on tree view contents change
dynamic cid retrieval, deprecate hash table
catch window close event
disable mime tree on startup