Add cabal install support
Prevent hanging in scrollPosIntoVIew when called before the window has been layed out