Singletons considered harmful, and globals not far behind