Append new memory blocks to the end, for performance reasons.
Removed unnecessary check.
Fixed: MEMORY_BLOCK's fixedSize was never updated.
Changed formatting for consistency.
Free allocated blocks when no longer used.
Fixed debug project runtime library properties.

Introduced by the following commit: Removed dependency of Microsoft runtime DLLs.