Math mapgen fix, ip show on connect, pathfinder segfault fix
Merge remote-tracking branch 'upstream/master'