Added findTopN and cleaned up UI a bit