Some fiddling with plotting, table generation, etc.