Fixes and cleanup. Rect documentation translated to English