Tweak appdelegate for debugging