Logger nad Allocator decided to be a global for all library
to pst_context, move get_frame() from pst_handler to pst_function