#46 add menu items for file browser flags
#46 set state of menu items to default when no window is open