Initial commit of current stable version.

(pre-rename)
Fix name of getTransitionEnd function