include <line> in vertically centering calculation
More general error check
add bytes slides