cleaning up this mess
more cleanup
ctwin error logging
curses drawing errors now handled in ctwin update