main code: Daniel Vrit <daniel@manitou-mail.org>
original xface code: James Ashton <jaa@cs.su.oz.au>
