AE: Fix a couple of errors in SetupNavigator that creeped in when I merged finalise_template_creator onto develop
AE: Use the new way of getting the event number in TemplateCreator
AE: Add cstdio as Ben suggested. This should close #161