add log export
Visualizer: Keep aspect ratio and centering
Refactor to single character variable by synthesize compiler directive.