Also added more explicit error handeling to ensure that users know what to do when the thread count exceeds the compiled maximum
Also added more explicit error handeling to ensure that users know what to do when the thread count exceeds the compiled maximum