Making MainPage no longer a LayoutAwarePage

It was causing problems