cleaned the crappy nettaskthread interface up with a nice inheritance-based one