Reinstate handling of exceptions in main.
Load order from file for TPN.