gridColor is QColor now.
some cleanup/optomization.