Slightly improved compile speed in gui header files