Poly and Unison modes

Completed integration of polyphonic and unison modes.  There are some notes here (http://forum.gadgetfactory.net/index.php?/topic/1530-unison-and-polyphonic-modes/) about the updates.

Memory related stability issues I mentioned earlier in the forum are fixed.