Well, so I worked on part of my userpic thing this morning and this evening. This is actually the part that is going to build a database of LJ user names, so that it can randomly pick one from there instead of having to load random.bml every time it wants a user name. It appears to be working, at least with a search depth of 1 (I enter a user, and it adds all of that user's friends). Testing it now with a search depth of 2, but there's no reason that shouldn't work.
No, this isn't terribly practical, but I'm having fun.