More work on interface generation scripts. Also considerable work on the data plotting.