Logger_frame now will always use correct var id

Solved #13