unexport setindex_shape_check, tty_rows, tty_cols
document more functions