Start unifying global init/deinit code for console