improvements to SpamFilter