removed mountain limit on aStar algo, cleaned up a bit of river generation code and introduced map wrapping flag so when set allows rivers flow into other side of map.