Feel free to remove all code within #ifdef which only has FEAT_GUI as a condition