AI Editor updates

I've managed to make it even more inscrutable while adding essentially
no new functionality