Connect newly created windows' signals
Pass rect to show() function instead of separate values