Fixed terrain download error, misc server fixes