add debug info to build
clean up the powerOn stuff; add comments