doc fixes, error checking for unsupported button state