Fixed functionality of explore tab

Also removed testing prints