added a 1px boundary around the boundary for the random point generation. if the point happened to be on the boundary then that polygon would not generate.
checks the random points when creating them to make sure that no duplicates are added.
not sure what this changes ...