Add memory initializations.
Seperate Debug from release at compile time.