Added init checks to singletons. Made loader singleton