Remove dead preferences window code.