added traces with writeTrace and added the calls to initTask and updateTask. still need addTrace. added initRandomization though I am still figuring out how blockRandomization.m works. added tickScreen. added different types of flushes to jgllib