Several changes with initial support for plotting the input data.