2 fixes for mate-color-manager

fixes #1 and #6 
(i can't see how to do this as 2 separate requests so I hope this is ok)