SharedObject improvements (Thanks Daniel Uranga!)