Scale back global variables Some of the global variables were either not used anymore or only used in the listing code.