In short, when you call RewriteTool new, you have a fully initialized description of the GUI, but you don't have the GUI.