Added missing break; in switch statement.
Added a bunch of virtual destructors, to resolve a compiler warning.  (And maybe also to resolve some long-standing issues with our use of RCPs; time will tell.)