Fixed bug where some events wasn't properly unbound when all editors where removed from page.