Improved the deallocation of objects in every part of the application.
Merge branch 'release/v0.61' into develop