Fix #1

There was a closure inside a loop when creating the info windows. Dumb mistake.