Run button added. Updating graphics is now happening in graphicsUpdate() function.