fixes issue with sbts play when classpath contains no elements
adds saving state to xml, mine, further tweaks