Added pattern and gradient stroke for rectangles (no linecap support yet).
Removed testing NSLog.