Changed computiation to check whether n is a prime, to give a slightly flatter computation effort over the list
Script that compile the threads that occur in the App output