Add custom barline creation and insertion, and overriding standard barlines