improved linking stuff, and some math231a notes.