Added debug flag
Cleanup
Determine notehead from multiple models