Revert "fixing a print bug"

This reverts commit d65aa2b30dcc1964ce57a9ab5defd8b24539adc7.
Revert "fixing memory leaks"

This reverts commit 4b23a96ad3ac87128060056e86a2e68b3956b71b.
Revert "new macros"

This reverts commit e5cb891f31abeb918dd766f88873b52fabf5a30f.
Revert "fixing include"

This reverts commit 77edb6a80ac7506f791f8f7d1ff069fc14ee24a8.
Revert "adding safe memory release"

This reverts commit 8721810a755e77bd89d704df783a7bba13f5fa93.
Revert "memory fixes for Core"

This reverts commit ff75dcbfb55c1b9206e6fc5452a7f88f12ad3398.