Changed displaySimulation variable to displaySimulationVar to resolve a linker error I was getting