fix duration for menubar
add Debug Object
Add ad-hoc MergeModel
remove unused code