I managed to mount my usb stick automatically via udev rules (hal isn't
running). However, if I unplug the stick while thunar is open, the
umount command hangs. After that I can't even reboot. But if I close
thunar before unplugging the stick umount works fine.