added stdexcept include in Settings.cpp