fixed main window icon and miscalculation on summary window