Don't require ssh to run on localhost.

Fix integer indexing during tile update, which causes odd out of memory
errors.