Restructuring of when screen context and events are started stopped, created and destroyed