Enabled Java 7 source compatibility
Increased use of library methods
Fixed ui tests