Code editor

Works like VS Code, with a test runner. Fix a real bug without breaking anything, then add the test that would have caught it.