Segfault on deleting some obj, otherwise 2d ploting support added.