Add the script unload event.
Fix channel join detection & improve stdin.js info command