printExpression added to new GUI class