Add missing try-catch around main code.
Add missing try-catch around main code.

Signed-off-by: Michael Sherman <10753a9e287eb14724b3c33ef4445ac080c07e6b@stanford.edu>

chrisdembia/simbody,elkingtonmcb/simbody,robojukie/simbody,chrisdembia/simbody,elen4/simbody,simbody/simbody,Gjacquenot/simbody,robojukie/simbody,elkingtonmcb/simbody,Gjacquenot/simbody,scamille/simbody,elkingtonmcb/simbody,elen4/simbody,chrisdembia/simbody,robojukie/simbody,Gjacquenot/simbody,scamille/simbody,simbody/simbody,scamille/simbody