termstate uses options object instead of argument list

also includes documentation fixes and next version