Fixed some whitespace issues in docs. Changed some examples.