Updated chat example to use ncurses

There are a few hacks, but I don't know ncurses well enough to know if there's a better way of doing it.

#40
Should be `(cw *chatWin)`. Didn't work for me until I changed that.