Added dynamic contex menu during runtime when pressed CTR+Z (SIGTSTP).
Added support for dynamic minimum and maximum number of threads.