move lineno and filename, optimize realloc, CLI colors