added some checks for the where argument
Cleanups for PR 1263:

- Display proper caller location (requires extending useMyCaller to take a
  number)

- Recover by only returning valid 'where's so we don't crash later.
Merge branch 'pr/1263' into devel

Fixes #1262.