dont clear the depth buffer in TextureLine
TextureLine: arbitrary x resolution
move texture unit check to TextureLine where it is supposed to be
remove error check
tidy SimpleLine
dont hardcode window sizes