Fixed id assignment problem for instances that was leading to incorrect evaluation. External evaluation now equals graph internal evaluation. Also added logging stuff to build.