Changed the name of the .gif and added an exit after exporting

The name of the exported .gif is now the date and time, also the
program quits after it exports the .gif