A GTK4 port is still very much work in progress, but there are some cleanups we can do in preparation.