check that opstack is empty on normal exit
add generic pointer type
wip curses
more wip curses