Added some things, right now the images showing up in the window when
replaying are not always right and sometimes the close button stops
functioning.