Fixes #333.
I cannot reproduce this crash, but looks like the crash happens during
exit, I am thinking perhaps the buddylist window gets closed before the
plugin tries to remove the statusboxes.
#!/bin/sh
DIALOG=`whichdialog`
# make sure we have dialog
if[x"${DIALOG}"=x""];then
echo"Failed to find the program 'dialog' which is required to run this script!">&2
echo"">&2
echo"Please install dialog or use the standard ./configure";>&2