remove unused header
add clip scanlines routine