WIP: experiment with multithreading

Not compatible with 'arcyd stop -f'