Revert "fixing a print bug, updating core"

This reverts commit 87cc895fe92cbe8cf8fa4c93603af720b9642f41.
Revert "Revert "fixing a print bug, updating core""

This reverts commit a2dcf31494f57972b173db6fb0f01e22faa5940f.
Revert "fixing a print bug, updating core"

This reverts commit 87cc895fe92cbe8cf8fa4c93603af720b9642f41.
Revert "more memory leak fixes"

This reverts commit 6a5d997777dc6f64b965a5f72ff0a742dce7a6ed.
Revert "fixing warnings"

This reverts commit 5b89bbfafbe12e7ebb00cc134d954b13ae846ec9.
Revert "lots of macro'd calls"

This reverts commit 9df9b7f7bac9e7b2edb95be9f6cac80b693d26cb.
reverting code