Moved main logger from SGWindow to SGApp.