Cleanup, ember example

bug fixes
thread switching issues
precompiler only working as string