Fixed inspect for simpler doctests

The inspect functionality is now much simpler and allows the direct string representation to be used in doctests, rather than have to reverting to record inspection.
+ some cleanup on docs, punctuation, other pedantic stuff.