eips only does 40 lines (0-39) of 50 characters (0-49). One of your lines is longer than 50 characters, and it starts at position 11 (the 12th column) on that line. You should split long messages to multiple lines. Also, there is no need to display blank lines where you already displayed blank lines earlier. The reason I did those blank areas around the text was to create a white border around the text on the background pattern (which you are not using here). Good start, but needs a little work (and testing) ...