The ductus arteriousus is a blood vessel that connects the pulmonary artery to the descending aorta. Otherwise known as the ductus Botalli, this structure pumps blood into the fetus' non-functioning lungs from the right ventricle. This blood vessel will close at birth and becomes the ligamentum arteriousum.
I believe the thyroid controls most, if not all of those things. (Again, I'm not entirely sure.)