Minor code cleanup.
Critical bug fix for script host.
Updated version to 0.1.11.