Fixed a considerable amount of compiler errors and changed the lexer error handling...