Integrated XML loader from old version, css minimal fixings