Added comments for 'setPeerWindow'