Made example code more readable by reducing number of ?php tags. Highlighting and grammar changes.