check stdout to be a tty
board_copy removed
refactored
draw_slide optimized