Made ApplicationContainer static, added initialization locks.