Rests are now shown as rectangle
other minor improvements