Testing and fixing issues generated by QSharedPointer functionality.