Added in beginnings of the distant terrain generator, plus LOTS of refactoring of everything