Improving prettiness of debug output/adding note to Java file.

Resources are URL fragments, so they don't use directory separators.

Currently facing a weird Windows issue with URL paths, though, leading to
test failure.