Removed reliance on curses