ocaml-twt: some fixes