Added draw lines function to CloudWidget.