added an eval function .

button now evals all code in the text pane.
output goes to stdout