Added null return value for array.draw() when the array is empty
Cleaned up some examples