remove 32/64 pref, add dummy window, other OS X fixes for 7u40