Changed to global variables (locally) in main2.cpp
Changes, don't remember what, but good.