Monitor: Added printing stacktrace only for current monitor thread.