Fixed most of the untested stuff

Also gave the scrollbar a nice orange colour when being dragged by the
mouse.