lots of bugfixes from testing (mostly configuration tool, but at least a real bug in circbuf). Needs more testing