I've removed all logic from app.init(). Much of this has ended up in the constructor for the Main View.