added menu-bar for window systems and get emacs server on windows running