Fixed: Browser window doesn't close if iFrame contains external page
Moved event handling for background redraws inside BackgroundCreator