Final commit

The final version of the GUI, contains a distance recorder and final
touchings up to various tasks