main: set default thread number to 8
main: number of thread is available in main's option -n
models: adding runtime exception if model is bad
models: correctly compute the number of token to receive