gave up on guessing external IP, misc fixes