fixed a string termination bug in the uidlist handling code. I've also