* Removed try/catch in program entry point.
 * Added logging.