add show title on dock-img and fix some bugs 

add show title on dock-img and fix some bugs