Threads still messed up sometimes