Tidied up Digitise.xamlx.