using std::thread in BWB
clearing SSH without tons of RAM
exception handling around openDatabases