*****MAJOR PROGRESS. Re-worked tieing so things work better across barlines.