Implement expert mode for context editor

That was a Sisyphean task! But I'm happy with the result.

closes #31