added Copy option
added virtual destructor
added patch option
changed deprecated juce api calls