beforeunload works more reliably than unload
show toolbar on join