Clean up sample C++ AI.