Fix main for browse application

Issue #199