Clean up logging & support legacy theme configs.