Add setup and reset stuff for stdscr