Joining up polygons whose ends nearly match.  Fixed minor bugs.
Joining up polygons whose ends nearly match.  Fixed minor bugs.

alex1818/host,alex1818/host,reprappro/host,reprappro/host,reprap/host,reprap/host,alex1818/host