Set GUI options more elegantly.