Lexer improvements, fix namespace issues, rename StructType to NamedType