Added menu bar style detection