Minor cleanup

Changed processorthread's set_current_frame argument to an anonymous
lambda function; removed _set_current_frame.