delete newed memory to help with memory leaks. issue #9
Merge branch 'master' of github.com:joshmarinacci/aminogfx