switch to Java 7
Fix path problem in ant script
misc bugs
Fix bugs from findbugs
more findbugs