make it so editor has internal scrollbar, adjust scrolling behavior, and a few other small tweaks