fix local frame placement when calling a stateful function or a method
add a p0 implementation of a signal