Some improvements for Unix on Mage Server and Client