Homework from 7/10 David lecture.

* Clean unused items from TER.
* Tiny shared_ptr optimization for LES accessor.
We already discussed this in a previous changelist, before you were here!  The enums with the explicit number assignments are externally visible - the ones without an explicit assignment are not externally visible.