I don't like this direct call to a core function (GetBoolArg) in GUI code. Can you pass this as a parameter to the constructor?