What decides which Window to show when an app runs