Merge pull request #33 from grejppi/stable-0.4-pianorollsegfaultfix

fixed segfault in piano roll when no pattern is open