Better GUI implementation.