Rewrited manuals.
Fix some minor bugs.