Add figure captions, fix appendix labels.