Made it possible to load an amf with no data (and returing null)
Made ButtonViewStates handle bad parent.