Error in makefile
Added a print mux function + corrected (partly ?) the bad file descriptor bug