Fix screenshot generation.

Generate sources and javadoc.