setup for working with GUI stuff.