in reply to How to use object's reference in "object" context if being used in scalar context it does something wrong?
To get an answer for your other questions, I think you need to post some more information.