Issue #18513: Add workaround for OS X 10.8 cexp bug that leads to wrong cmath.rect(0.0,-0.0) results.
Issue #17532: Prevent exception when changing key sets if Options menu is empty.