fixed corrupt GUI bug

moved render pane code out of the generated code, this way netbeans
can't change it