Add +1 to both sizes. (See #12456)

The value returned by the functions getMaxZ and getMaxT has 1
deducted. Add one when determining timer max
do no modify values entered in text field
Add document listener to allow edit.
Merge pull request #2908 from jburel/play-movie

Play movie