Added support for angle of rotation in arc implementation, fixed various little bugs...