Comment 6 for bug 872836

I have committed a fix for 2.0 series, however i am keeping the bug open as to version 2.1 so we can improve the fix for future versions of TAPAAL.

The code for calulating active Template is not very well written and needs a larger refactor in order to be able to select which template is active.