fix errors
More interesting output.
Allow Script Console in web builds.