Update to 1.5.1, java 1.6, unused warnings