improved inline doc. modified a hook for help mode.