Simplified version of master_curses