Further improving my emux function. No more stderr!