add a dummy main function. linker errors if it isn't.
Why the fuck you need this for virtual functions is beyond me.
move checkTTY() to UI from UINewt.
It does not rely on libnewt, so why keep it there?
add most of the rest of newt's main function