In preparation of renaming and grouping main.cpp shutdown variables: