fix a few more bins
continuing to fix examples / bins
refact resources, seperate unique resource id from shared material_id

  begin fixing specs broken by recent commits