Check window size and placeholder for run()