reshape window, remove printf's