Added detail tab implementation and removed debug outputs.