WebOPI: update doc. fix a nullpointer bug