Handle NULLs when freeing command buffers. Replace delete with call to destroy() for all MVK objects.