Fixing bug #5.

Ensuring that input boxes receive their previous values on error.
Simplifying code slightly.
Updating changelog.
Version bump!