Fixed stderr bug when writing logiles. Started to rewrite the docs.