Fixed a minor issue with several tryCatch statements.