More work on panels, optimization.