PixelClassifciationGui: Make sure MaxLabel notification is handled in the gui thread.