GUI: Small change to canvas
Fix bug with D-type modifications. Output was not random if the input changed during the hold time

Also add new D-type test file.