Fix a chain of mistakes, which was cause to input data not transfer or transfer incorrectly from lesson to the visualizator (issue #14)