Implemented `$on` and `$off`.

Update `sig/initialize` and `sig/finalize` to use `$on` and `$off`.
Make $on and $off a little bit safer
Some more
More constants, shorter code
Rename `$HANDLER` to `PROXY`.