* scroll.c: Integer and memory overflow fixes.