Cooling, collisions and coherence of cold cesium atoms in a trap