Small changes to the handling of the screen transition duration parameter.
Merge remote-tracking branch 'sandbox/SimpleTransitions' into SimpleTransitions