Small delay to ensure window is available for painting
Added font options for text
Fixed positioning of text