Add more tests, drop old-style event hooks, less zealous z-index