Corrected a number of bugs. incrond does not work still as it brings abbyy to a core dump.