Fixed crash when time between frames too small. Closing preview gif dialog no longer sends user back to main view.