Some last fixes and clean-up.

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>
Last doc update

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>