Added plugin osc flag in the model and method to get a list of osc plugins
On closing, check if audio and destinations exist in the model