Removes dead code as a prereq for API work

Unused imports and members, some deprecations.
Shout if you see anything controversial.
See above the call at line 104 and the comment at line 103 : this will be used for future implementation, when displaying members.