gui controls for screen size and auto-exit