app/binding: implement crude syndraw/enddraw/flushdraw sequence