Fixed #1217 by adding 'pending' data import state to distinguish between...

... 'not yet started' and 'started but stuck'