fix mode handling (async loading)
update codemirror to v4.6.0