some styling and rendering fixes