Added pragmark and progmatically created window