Moved app debug statement into a get-able property of the "app" object.