add pstree, add window hook for osx in emacs, fix progress in gettem