comments
fixed new rect structs for clipping
new clipping struct added to code, not tested yet.