more logging
broke tty.js earlier if there was no url prefix