More framework for notice trap.

Expands on tr_notice within trapfunc.cpp