Fixed new/delete - calloc/free bug, now properly deleting memory instead of free.