preview is now shown in extra window, controls will be also shown there. split the sketch into subsketches.