Fixes time compute in DanceScript.
Fixes typo in logging.
Adds guard rule for goToNextFrame in DanceScript.
Fixes problem with sending always same frame in dance.

Reason: I should remember that qt is not objective-c. Returned vector is
copied instead of returning by pointer.