Clean up and change of tab completions
rewrote notes to be external program.