enable debug builds
say we're xterm (no real effect for now)
remove termcap, and emscriptenify-mainloop to avoid while(1)  - more while(1) to be replaced, probably..