which is the right place?
1. In the main() function when the program starts we can start the hash tables, opening book and bitbases. May happen that xboard no gives time to start all?
2. When starts xboard() we send done = 0 and then upload hash tables, opening book and bitbases, then we send done = 1.