reformat ocaml code style in GUI_core