Added color handling to regular NLM
Merged color and parallel code