Refactoring and UI Updates

Using grid() instead of pack() to make the layout code more concise.

Also did some significant refactoring of the save and calculate code.
The save code now only saves the string that it is send and the
calculations now take the hex string directly.