Restructured windows into pads that are horizontally scrollable. Also cleaned up order of clear/erase/refresh calls.