Added some more utility functions
Removed unnecessary references to leak detector on release settings