Simplify connection, fix errors for high-zoom lat lon box calculation.
Fixes #288