slang: we now follow redirects if one is given

I also ripped out isgd support since I haven't used this in
ages.
This also includes a little bit of cleaning up such as addition
of comments.