Added code to run some initialization routines only once, even if they were called...