Passing shared_ptr by value and cosmetics in MythChannel