Java 8 fixes

Starting working on log filtering. Not done. Completely disabled for
now.