based on https://codeberg.org/srb2classic/srb2classic/commit/3670a7c1c193185cf4921de8955c96e63fbecc62 and other things from srb2classic this also now allows to check if a thread failed to spawn and reduces duped stuff and such
based on https://codeberg.org/srb2classic/srb2classic/commit/3670a7c1c193185cf4921de8955c96e63fbecc62 and other things from srb2classic this also now allows to check if a thread failed to spawn and reduces duped stuff and such