revamped dtafill script

most important feature is automatic preview time calculation from midi