First try with pframe_get
Added debug message for pframe_pin and pframe_unpin
A strange compiler error I cannot figure out.