Added a couple printw fns I had missed and removed the scanw fns as obviously wrong and unclear how to adapt.