this might fix the crash again. i have grown to hate file transfer even more. someone with a less broken development environment might want to try to get the crash to happen some more, and let me know if its still there
argh. i'm going to bed.
/*
* A lot of this code (especially the config code) was taken directly
* or nearly directly from xchat, version 1.4.2 by Peter Zelezny and others.