Started working on text output.

Calculations shall be shown in the application. Added button is not
quite functional right now.