added primsignal signaling interface

Signaling interface between Prim backend and gui.