Solved concurrency problems, implemented new Color class