thread limet selector

add a way to change the thread limet in the ui