Cleaned up cosm and sensoract of print statements.