Fix precedence of operations in a boolean expression in function UpdateMenus in WndMainWindow.cpp.

Bitwise OR has higher precedence than the ternary expression operators. This is likely unintended, since the main goal here is to either check or un-check the items.
Turns out there were three other expressions with this precedence problem in it within WndMainWindow.cpp.
Remove redundant parentheses from a ternary statement in WndMainWindow.cpp.
Merge pull request #4053 from lioncash/master

Fix precedence of operations in a boolean expression in function UpdateMenus in WndMainWindow.cpp.