RTGUI: implement object id
demo_view_window: utilize the object id