Modified IRC to inherit from QThread. Started with signal interaction