cleanup bstree.h
fd notification implemented