prim: tweaks in exceptions
prim: introduced event signalling