- Cleans up pthread initialization, checks for ret code !=0, instead of -1. For some platforms the first thread was not started and therefore `pthread_join` could not succeed. - Always specify stackaddr and stacksize to not use malloc - Formatting and uncrustify