got output capture of compiler and executable working :-)

added comments, clean up stuff