minor fixes and doco updates