Added parent option to windows