Updated to set GOPATH to pwd
Added energy total
Added display of loglevel for message