Numbering: how can I avoid subsections becoming 0.1, and how can I number examples?

Tank you flokl! It is now working exactly as it should!