added a lot of new stuff: basic polyphony code, midi-in thread, SID writer thread, started SID control code