you need to put the two variables (radius and gui) inside the ofApp class. (ie, move those two lines to below “gotMessage”)
since these variables are part of the ofApp object and will be used in functions like setup and draw.
Also, you can take a look at some of the other examples that ship with OF if you need to see what I mean.