Attempt to de-duplicate windows with same name

Add suffix of "(_id)" to windows with the same name as a previous window.