numerous fixes: grammar,code, example writers