Updated Marked Picture, Poly line (2)

Update of Marked Picture and poly line code with new program flow