Lots of bugfixing, updating of ranking seems to be fixed. Same goes for ...

...retrieving perosnal documents