Prepare for GUI stuff