Styling adjustments and fixed typo in legend script