removed non-functioning anonymous lambda

In line 279, previous approach was a syntax error. Created a tiny helper
function _set_current_frame to pass to the ProcessorThread instead of an
anonymous lambda function.