Add basic exception handling to Infinitory, good enough for the time being