Build environment on demand
Remove asserts
Use dict cache
Faster highlighter on theme change