Add comments regarding avoiding stack traces in Dart and Java.

Formatting nits.