Memory Leak Structural Fix

Fixed a structural issue that results in a memory leak by putting all
uses of new not related to widgets within QSharedPointer objects.
(widget-related news are deleted within destructors).