Make 'mainWindow' variable in background.coffee to be global