improve ColorEditor and custom drawing
remove use of unsupported c++11 features