old stdin structure removed + startup barrier implemented for client (not tested)