Fixed most Gnome frontend compilation errors.