do the background loading of the application only once, using a cookie
popup_window: use less layout, and more flex display to improve performance