0 OK
1 missing filename
2 cannot open inputfile
3 cannot open timetable
4 file has less than two valid frames
5 writing to STDOUT in interactive mode is a bad idea
