enabling shadows

performance tests added
build variables improved
added optimizer monitoring