Edit code for all snippets to compile properly. Re-word some descriptions.