Rewrite problems, expand wording

Fixes #41 loops now introduced properly before functions