log4j and dependancy fixes