I'd really like it if this stuff was in another class- maybe "InAppNotificationManager" or "InAppWindow" or some such.