Replaced spaces with tabs to match other code.
Added a block handler for drawing the divider, which is easier and more convenient than subclassing.