fix examples (in progress)
fix bins (in progress)
fixes inprogress

  - this patch has small stuff that doesn't need to be tested
continue fixing examples/bins/modules/specs

  tests needs to be written for all the changes in this patch