added more functionality to event window creation

big bug where weird number of notes is being appended equal to the
number of track windows from the track window you clicked to the last
one (ex: if there are 5 tracks and you click track 2 then 4 notes will
be appended to track window #2)