Add rootCtrl to window to make it global
Handle sections on non-real days

Fixes #47