make buildlocaltiles completely const so we can thread it
refactor tile building to use less memory. move around the build function so that there is a single function call on every tile. this can be used as the thread work function
remove rediculous amounts of printing as it makes tile generation slow as heck
Merge pull request #23 from valhalla/kk_threaded

prework for threading
manage merge conflict