Added field "visible" to ObjectInfo class

Made the visible object property a field of the ObjectInfo class to keep
code more as per original author's design.

Added more operator reporting to __write_object() method.