Finally fix crash by not using singletons which maintain a static reference for the lifetime of the app; thus disallowing GC of certain references.