Moved update and move functions into their own thread, for easier troubleshooting