Code cleanup
Set random colors within the adequate range with Gtk+ >= 3.4
Avoid a warning when building with Gtk+ 3.4