rc3
stop crashing on a terminal too small
minimally testable

also allow configurable port numbers
upgrade debugger, add minimal test dir
guard against bad encoding in queries