Fixes #574. Fixes #575. Fixes #576. Fixes #577. Fixes #374. gnome colour manager fix.