Added initial values.

Added some initial values and some statements to check that textboxes
are filled.