Sinus testing default, if Arduino is not connected
Resizing of parent window is handled