Editor improvements and fixes.