console app for windows; curses improvements