fix off-by-one error in WorldViewer debug code
MakeRivers: fix some bugs with which elevation variables are used