Enable starting window logging

Also extend it to make sure we catch the bug!

Test: Open a couple of cold/hot apps, make sure logs look accurate
Bug: 37888853
Change-Id: Ied394969748d4d2d40359af15e0b491a2dc2b078
(cherry picked from commit e4b0f28a47097b7b0c04f3ae80507e2a15e3314f)
6 files changed