First manual TS definition bits.
Minor TS cakefile task tweaks & todos.