fixed race condition with painting markers and added colors