fix IplImage deletion, fix setProperty