Added basic barline and repeat support