Fixed getThread, should actually work now