updated stack peeking

we now just descend through the stack one frame at a time until we find the first frame that is not from mi.core.logging.