Fixed removal of colored ranges, changed drawing of colored ranges to use iterators instead of foreach to increase drawing performance