main-page-sequence: active pattern-editor with double clicks

Switch to the pattern editor with the pattern active or the machine of the track
selected. Fixes bug 59.