fix some bugs; add initial content for help dialog