open up api as needed to track errors
merge in master. migrate to scala 2.10
merge from branch tresata