Always show application icon in taskbar.

Fixed playback sometimes beginning with the final frame of the last
playback. Some minor refactoring.