Wait until mainController is initialised