Typescript fixes and scroller updates (unfinished that one).