More GUI functionality. Small fixes. Added a method for calculating a
checksum from a given array of bytes.