Fixed some content issues in SM article about using code