update doc, changed keywork to kwargs, fixed other badness...