Started freeing memory when done, added debug target