Remove GUI stuff.