Modify Main Windows