Finally make the UI stuff GL3 compatible, now for the rest of it!