execute-callback in drscheme:unit:frame

This method is called when the user clicks on the Run button or chooses the Run menu item.