Use reflection to add scene presence to local scene and clean up some compiler warnings