fixed crash that would sometimes happen when displaying gifs
fixed crash when showing still images
give a proper error message when trying print an animation with the irc-formatter