Bug 964517 - Add solid background to apps where appropriate. r=alive

This aggregates the patches Vivien posted in comments 52-55 of bug 964517.