Made counted_t implicitly convert to bool again.
Fixed or removed a bunch of RSIs, including deref_term_t.
Removed unused datum_t::iter function.
Removed unused function note_dummy_frame.