Cleanup and print some pointers.