Allow T3F to pass data around through a void pointer so users don't have to resort to using globals. The template has been modified to remove the use of global data.