Checking all accesses to 0th. element of std::vectors in FarPatchTablesFactory for empty vectors.

This should fix the exceptions thrown by Windows checking STL vector boundaries.

fixes #155