If you don't provide sufficient time for the display to update on the arduino board prior to exiting then it will glitch out the contents of the display.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.