Small improvements to g_on_error_stack_trace and g_on_error_query
Small amount of maintenance for these venerable functions.
The main improvements here:
- The stacktrace includes all threads
- No need for g_prgname to be set
Edited by Matthias Clasen