1) Changed thread safety to use lockguards instead of explicit locking and unlocking. This removes a potential deadlock due to return branches from allocator code.
2) Improved assertion readability.
Merge branch 'master' of https://github.com/cgikoray/Nemesis-Memory