Clean up broken doc links

Fixes #1958 

Mostly removing references to `Context`, `RenderState` and `DrawCommand` from public classes, and found a few minor typos.