Fixinstuff

This should fix the issues we were having with duplicate appDelegates, etc.