Some papercuts, minor code condensing, added horizontal scrolling option.