Initial work on curses; build system stuff I forgot to commit.
Finish console module.
curses is so much trouble.