Got state trasitions working.
Plotting of path across multiple keyboards.