Minor code restyling. Important: Renamed win->curses_win to win->curses.