 
     initialize: ->
         app.isMobile = touchDevice = 'ontouchstart' of document.documentElement
+        app.setupGlobalErrorHandling()
 
         app.$page = $('#page')
         app.page = app.$page[0]


            Object.freeze? @

    show: (view) ->
        if app.page.children.length
            app.page.replaceChild view.el, app.page.children[0]

        @resolveCountdown += 1
        @state = new State
        @state.fetch
            suppressErrors: true
            error: -> vex.dialog.alert('An error occurred while trying to load the Singularity state.')
            success: -> resolve()

        resources = [{
