Updated a number of functions during testing of core build functionality. Output still needs to be tweaked. Added self=this fix virtually everywhere due to two or three run-ins with the this variable ambiguity.