Tweak to make it possible to test status bar et al