Simple random shapes in Cocoa using NSDocument