attempt to fix weird STKM bugs like not respawning

The stuff in STKM_init_legs seemed to fix it strangely, the rest was just found in some commit and looks cleaner