added closePath support for stroke (lines)
removed comment
added missing object reference