rework r9381 (get the color from the Registry)
mudraw: reduce GDI memory usage