Optimized the document inspection process a lot. Since we already index the literals, I instead added them and then cleared them. We still have to clear them to avoid matching literals in the comments or strings, etc... Note that the performance did increase, but still might be costly on fairly older systems. I will most likely be adding an option to enable/disable the coloring system completely, if the user wants.