Remove commented out code
Make gradient, pattern, shadow optional modules
Make sure object angle is always positive