Editor can load files
Fixed some small problems in lexer