[WIN] Update status of menuitems in the menu bar. Fix #391.
Merge pull request #407 from zhchbin/master

[WIN] Update status of menuitems in the menu bar.