Legend display tweaks

I've used them before as it is sometimes the only thing you can do to get the code to do what you want.