added timing, input, curses window context