added code for disablin window and changed diemnsions of plot