get rid of PHP undefined index warnings
fixed missing defaults in unframed_cast_receive
a working loop