Improves debug logging. Code cleanup.
Minor changes to build step and runtime-transpiler. Removes unused files