fix arduino IO, self-adjustment improvements
fix threading
remove file