global.cpp code refactoring
std::string display modify