add a global menubar and docker menu on macosx platform