Fixed so the setupeditor event is fired before the setup callback setting to ease up compatibility with 3.x.
Synced the compat3x plugin with the wp version.