Debug output, minor fixes and tweaks

* Script compile length fix
* Transition fix