More CLI work - extend API, create curses windows.
First draft of the CLI complete but untested.
Merge branch 'master' of https://github.com/neilcollins/piconga