some deletion cleanup in main.cpp