Adding multi-threading
Adding threads in the GUI
Initializing nb Thread with ideal thread count
Adding missing sleep.h/cpp