Added the doMove to the gui code

It doesn't work properly, it worked the first time, but now it won't
work anymore.