[Temp] Architectural changes

Finish preload and extract common code for generating InputWindows