Temporarily remove edit menu, this cause some segfault on OS X (a qt bug)
Fix typeerror on OS X + PyQt5