Trim down the template task to the essentials. Task now only makes use of methods in the virtual track/event classes, so it can also run on ESD.