Value moved into closure here, in previous iteration of loop

You cannot use gtk from more than one thread at once. If you want to interact with gtk from another thread, you will have to use channels to ask the main thread to do it. The glib crate provides a channel that integrates with gtk rather nicely.