Code

Add virtual to a lot of the destructors. Note: perhaps it will have to be reverted...