rsdn: lots of small improvements