Output Popup fixes

Further developed the output popup box to display user input data on the
left and the output calculations on the right. Fixed some errors in
building the popup and made Calculate button collect the user input for
the output box.