add popup tooltip, fix refactor bug
fix minor layout bug
resolve #012
fix #024